package com.dks.mapper;

import java.util.*;
import com.dks.models.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StudentMapper{

    Integer insert(Student student);

    Integer update(Student student);

    Integer delete(@Param("id") Integer id);

    Student select(@Param("id") Integer id);

    Integer cntByMap(Map<String, Object> map);

    List<Integer> getByMap(Map<String, Object> map);

    List<Student> getByMapList(Map<String, Object> map);

    Integer updateByCode(Student student);

    Student selectByBfCode(@Param("bfCode") String bfCode);

    List<Student> getclassStudentList(Map<String, Object> map);
}
